//初始化树结构（合并初始内容）
var baseUrl = "http://localhost:8888";
var token = sessionStorage.getItem("token");
VanyAjax.token = token;
VanyAjax.baseUrl = baseUrl;
var NodeSetting;
var setting3 = {
	data: {
		key: {
//			name:"orgName"
		}
	}
};
if("undefined" == typeof setting2) {
	setting2 = '';
}
NodeSetting = $.extend({}, setting1, setting2,setting3);
new VanyBaseTree("#treeDemo", baseUrl + "/base/user/queryOrgInfoByUserCode?token=" + sessionStorage.token, NodeSetting);

//刷新表格
//function zTreeOnClick(treeNode) {
//	console.log("刷新权限管理")
//}

//穿梭框
new Vue().$mount('#transfertabs');
transfer = new VanyTransfer("#transfer", "authority/qxgl/json/transfer.json");
// 42是选项卡高度，15是padding高度，2是边框高度
//var _treeHeight = $("#move_left").height() - 42 - 30 - 2;
transfer.setTreeHeight(645);